<?php if (!defined('THINK_PATH')) exit();?>
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <base href="/tpshop/">

    <title>我的电商系统后台</title>

   <link href="/tpshop/Public/admin/css/bootstrap.min.css" rel="stylesheet">
<link href="/tpshop/Public/admin/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="/tpshop/Public/admin/css/plugins/toastr/toastr.min.css" rel="stylesheet">
<link href="/tpshop/Public/admin/js/plugins/gritter/jquery.gritter.css" rel="stylesheet">
<link href="/tpshop/Public/admin/css/animate.css" rel="stylesheet">
<link href="/tpshop/Public/admin/css/style.css" rel="stylesheet">

</head>

<body>

    <div id="wrapper">
        <nav class="navbar-default navbar-static-side" role="navigation">
    <div class="sidebar-collapse">
        <ul class="nav metismenu" id="side-menu">
            <li class="nav-header">
                <div class="dropdown profile-element"> 
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                    <span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">David Williams</strong>
                     </span></span> </a>
                </div>
                <div class="logo-element">
                    IN+
                </div>
            </li>
            <li <?php if(CONTROLLER_NAME == 'Index'): ?>class="active"<?php endif; ?>>
                <a href="<?php echo U('admin/index/index');?>"><i class="fa fa-home "></i> <span class="nav-label">主页</span></a>
            </li>    
            <li <?php if(CONTROLLER_NAME == 'Order'): ?>class="active"<?php endif; ?>>
                <a href="<?php echo U('admin/order/index');?>"><i class="fa fa-shopping-cart"></i> <span class="nav-label">订单管理</span></a>
            </li>
            <li <?php if(CONTROLLER_NAME == 'Catalog'): ?>class="active"<?php endif; ?>>
                <a href="<?php echo U('admin/catalog/index');?>"><i class="fa fa-bars"></i> <span class="nav-label">分类管理</span></a>
            </li>
            <li <?php if(CONTROLLER_NAME == 'Prodect'): ?>class="active"<?php endif; ?>>
                <a href="<?php echo U('admin/prodect/prodect');?>"><i class="fa fa-gift"></i> <span class="nav-label">商品管理</span></a>
            </li>
            <li <?php if(CONTROLLER_NAME == 'Member'): ?>class="active"<?php endif; ?>>
                <a href="<?php echo U('admin/member/index');?>"><i class="fa fa-user"></i> <span class="nav-label">会员管理</span></a>
            </li>
            <li <?php if(CONTROLLER_NAME == 'Set'): ?>class="active"<?php endif; ?>>
                <a href="<?php echo U('admin/set/index');?>"><i class="fa fa-cog"></i> <span class="nav-label">网站设置</span></a>
            </li>
        </ul>
    </div>
</nav>

        <div id="page-wrapper" class="gray-bg dashbard-1">
            <div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                <div class="navbar-header">
                    <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
                </div>
                <ul class="nav navbar-top-links navbar-right">
                    <li>
                        <span class="m-r-sm text-muted welcome-message">Welcome to INSPINIA+ Admin Theme.</span>
                    </li>
                    <li>
                        <a href="<?php echo U('admin/auth/logout');?>">
                            <i class="fa fa-sign-out"></i>退出
                        </a>
                    </li>
                </ul>

            </nav>
            </div>
                   
            <div class="row">
                <div class="col-lg-12">
                 <script src="/tpshop/Public/admin/js/jquery-2.1.1.js"></script>
<script src="/tpshop/Public/admin/js/bootstrap.min.js"></script>
<script src="/tpshop/Public/admin/js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="/tpshop/Public/admin/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="/tpshop/Public/admin/js/inspinia.js"></script>
<script src="/tpshop/Public/admin/js/plugins/pace/pace.min.js"></script>
<script src="/tpshop/Public/admin/js/plugins/jquery-ui/jquery-ui.min.js"></script>

                    <div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2>订单管理</h2>
        <ol class="breadcrumb">
            <li>
                <a href="<?php echo U('admin/index/index');?>">主页</a>
            </li>
            <li class="active"> <strong>订单管理</strong>
            </li>
        </ol>   
    </div>
    <div class="col-lg-2">  
    </div>
</div>
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>订单详情</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link"> <i class="fa fa-chevron-up"></i>
                        </a>
                        <a class="dropdown-toggle" data-toggle="dropdown" href="#"> <i class="fa fa-wrench"></i>
                        </a>
                        <ul class="dropdown-menu dropdown-user">
                            <li>
                                <a href="#">Config option 1</a>
                            </li>
                            <li>
                                <a href="#">Config option 2</a>
                            </li>
                        </ul>
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="col-lg-12">
                    <div class="widget lazur-bg p-xl">
                        <h2>
                        <?php echo ($order["address_name"]); ?>
                        </h2>
                    <ul class="list-unstyled m-t-md">
                        <li>
                            <span class="fa fa-home m-r-xs"></span>
                            <label>地址:</label>
                            <?php echo ($order["address_address"]); ?>
                        </li>
                        <li>
                            <span class="fa fa-phone m-r-xs"></span>
                            <label>手机号:</label>
                            <?php echo ($order["address_phone"]); ?>
                        </li>
                    </ul>
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="table">
                        <thead>
                            <tr>
                                <th>商品名称</th>
                                <th>商品数量</th>
                                <th>分类</th>
                                <th>状态</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody>
                        <?php if(is_array($prodect)): $i = 0; $__LIST__ = $prodect;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$p): $mod = ($i % 2 );++$i;?><tr class="tr">
                                <td><?php echo ($p["prodect_title"]); ?></td>
                                <td><?php echo ($p["num"]); ?></td>
                                <td><?php echo ($p["name"]); ?></td>   
                                <td><?php echo ($p["status"]); ?></td>
                                <td><a>发货</a></td>
                            </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
 
                    <div class="footer">
	<div class="pull-right">
	    10GB of <strong>250GB</strong> Free.
	</div>
	<div>
	    <strong>Copyright</strong> Example Company &copy; 2014-2015
	</div>
</div>
                </div>
            </div>

        </div>
     </div>
     
</body>
</html>